package cn.compose.online.biz;

import cn.compose.online.dao.AreaMapper;
import cn.compose.online.entity.Area;
import cn.compose.online.entity.AreaExample;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@Slf4j
public class TestBiz {
    @Resource
    private AreaMapper areaMapper;

    public List<Area> listArea(){
        AreaExample example=new AreaExample();
        return areaMapper.selectByExample(example);
    }
}
